/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database;

import utils.Debug;

/**
 *
 * @author Administrator
 */
public class SmsInfo {

    public static final String CODE_NAP = "KSNAP";
    public static final String NUMBER_NAP = "8085";
    private String codeSms;
    private String smsInfo;
    private String serviceCode;

    public void setInfo(String infoString) {
        Debug.d("info string :" + infoString);
        String[] part = infoString.split(" ");
        codeSms = "";
        smsInfo = "";
        if (part.length == 2) {
            codeSms = part[0];
            smsInfo = part[1];
        }

    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getServiceCode() {
        return this.serviceCode;
    }

    public String getSmsInfo() {
        return this.smsInfo;
    }

    public String getCodeSms() {
        return this.codeSms;
    }
}
